sed -i 's/profile\: .*/profile\: \/home\/xidian\/devs\/uploadPath/g' ruoyi-admin/src/main/resources/application-dev.yml
sed -i 's/password:.*/password: 123456/g' ruoyi-admin/src/main/resources/application-dev.yml
sed -i 's/jdbc:mysql:\/\/.*\/ry3/jdbc:mysql:\/\/127.0.0.1:16033\/ry3/g' ruoyi-admin/src/main/resources/application-dev.yml
sed -i -e 's/.*property name="log.path".*/        \<property name="log.path" value="\/home\/xidian\/devs\/logs" \/\>/g' ruoyi-admin/src/main/resources/logback.xml

sed -i -e "s/    host:'http:\/\/.*:8080'.*/    host:'http:\/\/xayaruan.com:8080',/g" ruoyi-ui/src/views/labbase/instrumentation/index.vue

sed -i -e "s/VUE_APP_PROXY = http:\/\/localhost:8080/VUE_APP_PROXY = http:\/\/localhost:8080/g" ruoyi-ui/.env.development
sed -i -e "s/VUE_APP_PROXY = http:\/\/localhost:8080/VUE_APP_PROXY = http:\/\/localhost:8080/g" ruoyi-ui/.env.production
